package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 聊天界面对象 tb_chat_page
 * 
 * @author ruoyi
 * @date 2024-09-14
 */
public class TbChatPage extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 聊天id */
    private Long chatId;

    /** 用户id */
    @Excel(name = "用户id")
    private Long userId;

    /** 记录id */
    @Excel(name = "记录id")
    private Long recordId;

    /** 商家id */
    @Excel(name = "商家id")
    private Long merchantId;

    public void setChatId(Long chatId) 
    {
        this.chatId = chatId;
    }

    public Long getChatId() 
    {
        return chatId;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setRecordId(Long recordId) 
    {
        this.recordId = recordId;
    }

    public Long getRecordId() 
    {
        return recordId;
    }
    public void setMerchantId(Long merchantId) 
    {
        this.merchantId = merchantId;
    }

    public Long getMerchantId() 
    {
        return merchantId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("chatId", getChatId())
            .append("userId", getUserId())
            .append("recordId", getRecordId())
            .append("merchantId", getMerchantId())
            .toString();
    }
}
